]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search: Hide the separator line of the last result
authorverdre <verdre@v0yd.nl>
Sat, 24 Nov 2018 23:45:19 +0000 (00:45 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Sat, 2 Mar 2019 12:29:41 +0000 (12:29 +0000)
If a result is displayed at the end of the search results, there should
obviously not be a line separating it from the next result underneath
it. To fix this, always hide the separator for the last result visible.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/311

data/theme/gnome-shell-sass/_common.scss

index 8359973dd857ecbd98cfe502bb1320cbe78a7005..d5fae21573b585e927cfe400f4bcd098844def34 100644 (file)
@@ -1285,6 +1285,8 @@ StScrollBar {
 
   .search-section-separator { height: 2px; background-color: rgba(255, 255, 255, 0.2); }
 
+  .search-section:last-child .search-section-separator { background-color: transparent; }
+
   .list-search-result-content { spacing: 30px; }
   .list-search-result-title { color: darken($osd_fg_color,5%); spacing: 12px; }
   .list-search-result-description { color: transparentize(darken($osd_fg_color,15%), 0.5); }